<template>
  <div>
    Lorem ipsum dolor sit amet, consectetur adipisicing elit. Debitis esse facilis incidunt inventore iure
    necessitatibus soluta? Deserunt, ea expedita facilis fuga, illum incidunt ipsam provident quis quod rem, sint sit.
    <span v-bind="$attrs"></span>
  </div>
</template>
<script>
export default {
  name: 'test-com',

  inheritAttrs: false,

  props: {
    username: {
      type: String,
      default: 'gengwenhao',
    },
  },

  mounted() {
    setTimeout(() => {
      console.log('attrs', this.$attrs, JSON.stringify(this.$props))
    })
  },
}
</script>
